package org.blackcat.dao;

import org.blackcat.domain.User;
import org.springframework.stereotype.Repository;

/**
 * Created by Duo Duo on 2016/12/23.
 */
@Repository
public interface UserDao {

    int existsAccount(String account);

    int update(User user);

    User findByAccount(String account);

    int create(User user);

}
